package com.kgc.community.service;
import com.kgc.community.pojo.Scheduling;
import java.util.List;

/**
 * @author cbh
 */
public interface SchedulingService {

    /**
     * 动态添加排班日期
     * @param scheduling
     * @return
     */
    public Integer addSchedulingSelective(Scheduling scheduling);

    /**
     * 动态修改排班日期
     * @param scheduling
     * @return
     */
    public Integer updateSchedulingSelective(Scheduling scheduling);

    /**
     * 根据id删除排班日期
     * @param id
     * @return
     */
    public Integer deleteSchedulingById(Integer id);

    /**
     * 根据角色(保安，保洁)查询一周的排班情况
     * @param roleId
     * @return
     */
    public List<Scheduling> searchSchedulingByRole(Integer roleId);
}
